<?php
namespace Home\Controller;
use Think\Controller;
class BannerController extends Controller
{
	public function index()
	{
		$banner = M('banner');
		$list = $banner->select();
		// var_dump($list);exit;
		$this->assign('list',$list);
		$this->display();
	}
}